﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace WoSoft.PACS.Win.MyToolBars
{
    /// <summary>
    /// 操作Model
    /// </summary>
    public class OperationModel
    {
        public OperationModel()
        {
            //默认值为可用
            this.Enabled = true;
        }
        /// <summary>
        /// 操作按钮的ID
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// 操作名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 分组名称
        /// </summary>
        public string GroupName { get; set; }

        /// <summary>
        /// 图像名称
        /// </summary>
        public Image Image { get; set; }

        /// <summary>
        /// 事件
        /// </summary>
        public EventHandler ClickEvent { get; set; }

        /// <summary>
        /// 是否启用控件
        /// </summary>
        public bool Enabled { get; set; }
    }
}
